import { postData } from "@/utils/request";

// 页面渲染
export async function getUserListData(data: any) {
    const result = await postData(`/login/selectUser`, data);
    return result;
  }
  

// 编辑
export async function updateUser(data: any) {
    const result = await postData(`/login/updateUser`, data);
    return result;
  }

      // 删除
export async function deleteUserData(data: any) {
    const result = await postData(`/login/deleteUser/${data}`);
    return result;
  }
